package com.caiden_micheal.dynamic.formula.web;

import com.caiden_micheal.base.domain.AjxResult;
import com.caiden_micheal.dynamic.formula.service.DFormulaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/dFormula")
public class DFormulaController {

    @Autowired
    private DFormulaService dFormulaService;

    @PostMapping("/queryAll")
    public AjxResult queryAll() {
        return dFormulaService.queryAll();
    }
}
